//
//  Copyright (c) 2014-2016 Actor LLC. <https://actor.im>
//

import Foundation

import ActorSDK

@objc public class AppDelegate : IMPlainAppDelegate {
    
//    let window = UIWindow(frame: UIScreen.mainScreen().bounds)
    
    override init() {
        super.init()
        
        IMPlain.sharedActor().configuration(["tcp://10.0.5.57:9070"])
        IMPlain.sharedActor().creatActor()
        
    }
    
    public override func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool {
        super.application(application, didFinishLaunchingWithOptions: launchOptions)
        
//        ActorSDK.sharedActor().presentMessengerInNewWindow()
//        window.rootViewController = UINavigationController(rootViewController: MyV)
//        window.makeKeyAndVisible()
        
        return true;
    }
}